// 
//  Copyright 2011  Felipe Segade
// 
//    Licensed under the Apache License, Version 2.0 (the "License");
//    you may not use this file except in compliance with the License.
//    You may obtain a copy of the License at
// 
//        http://www.apache.org/licenses/LICENSE-2.0
// 
//    Unless required by applicable law or agreed to in writing, software
//    distributed under the License is distributed on an "AS IS" BASIS,
//    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//    See the License for the specific language governing permissions and
//    limitations under the License.

namespace FreeType2Sharp.Struct
{
	using System;
	using System.Runtime.InteropServices;
	
	[StructLayout(LayoutKind.Sequential)]
	public struct FT_GlyphSlot
	{
		public IntPtr library;
		public IntPtr face;
		public IntPtr next;
		public uint reserved;
		public FT_Generic generic;
		
		public FT_Glyph_Metrics metrics;
		public long linearHoriAdvance;
		public long linearVertAdvance;
		public FT_Vector advance;
		
		public int format;
		
		public FT_Bitmap bitmap;
		public int bitmap_left;
		public int bitmap_top;
		
		public FT_Outline outline;
		
		public uint num_subglyphs;
		public IntPtr subglyphs;
		
		public IntPtr control_data;
		public long control_len;
		
		public long lsb_delta;
		public long rsb_delta;
		
		public IntPtr other;
		
		public IntPtr interne;
	}
}
